#pragma once

#include "cxtypes.h"//class IplImage;
class CvCapture;

//-- Class to manage the capture off camera Frame via OpenCV

class CpnCaptureInterface
{
	CvCapture* m_capture;		//interface de capture d'image USB
public:
	CpnCaptureInterface();
	~CpnCaptureInterface();

	void InitCam(int Num);

	IplImage* getMostRecentFrame();

	static int GetCamCount();
};

